package cn.yangliu.nacos.comm.constant;

/**
 * The type of nacos.
 *
 * @author 问道于盲
 * @date 2020 -01-05
 */
public interface GlobalValidateConstants {

    /**
     * current class instance's member.
     * The constant DATA_ID_MISS.
     */
    String DATA_ID_MISS = "data id is required";

    /**
     * current class instance's member.
     * The constant ACCOUNT_EXPIRETIME_MISS.
     */
    String ACCOUNT_EXPIRETIME_MISS = "accountExpireTime is required";

    /**
     * current class instance's member.
     * The constant EMAIL_ILLEGAL.
     */
    String EMAIL_ILLEGAL = "email is illegal";

    /**
     * current class instance's member.
     * The constant EMAIL_MISS.
     */
    String EMAIL_MISS = "email is required";

    /**
     * current class instance's member.
     * The constant PASSWORD_MISS.
     */
    String PASSWORD_MISS = "password is required";

    /**
     * current class instance's member.
     * The constant USERNAME_MISS.
     */
    String USERNAME_MISS = "username is required";

    /**
     * current class instance's member.
     * The constant MOBILE_MISS.
     */
    String MOBILE_MISS = "mobile is required";

    /**
     * current class instance's member.
     * The constant MOBILE_ILLEGAL.
     */
    String MOBILE_ILLEGAL = "mobile is illegal";

    /**
     * current class instance's member.
     * The constant ENABLE_ILLEGAL.
     */
    String ENABLE_ILLEGAL = "enable is required";

    /**
     * current class instance's member.
     * The constant PAGE_NUMBER_ILLEGAL.
     */
    String PAGE_NUMBER_ILLEGAL = "page number can not less than 0";

    /**
     * current class instance's member.
     * The constant PAGE_NUMBER_MISS.
     */
    String PAGE_NUMBER_MISS = "page number is required";

    /**
     * current class instance's member.
     * The constant PAGE_SIZE_MISS.
     */
    String PAGE_SIZE_MISS = "page size is required";

    /**
     * current class instance's member.
     * The constant PAGE_SIZE_ILLEGAL.
     */
    String PAGE_SIZE_ILLEGAL = "page size is between 1 and 1000";
}
